@charset "UTF-8";
/*cssinit */

* {
    box-sizing: border-box;
}

html,
body,
ul,
li,
ol,
dl,
dd,
dt,
p,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
legend,
img {
    margin: 0;
    padding: 0;
}

fieldset,
img,
input,
button {
    border: none;
    padding: 0;
    margin: 0;
    outline-style: none;
}

ul,
ol {
    list-style: none;
}

input {
    padding-top: 0;
    padding-bottom: 0;
    font-family: "SimSun", "宋体";
}

select,
input {
    vertical-align: middle;
}

select,
input,
textarea {
    font-size: 12px;
    margin: 0;
}

textarea {
    resize: none;
}

img {
    border: 0;
    vertical-align: middle;
}

table {
    border-collapse: collapse;
}

body {
    font-size: 15px;
    font-family: 'PingFang SC';
    color: #333333;
    background: #fff
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-decoration: none;
    font-weight: normal;
    font-size: 100%;
}

s,
i,
em {
    font-style: normal;
    text-decoration: none;
}

/*浮动类*/

.zm-floatl {
    float: left;
}

.zm-floatr {
    float: right;
}

.zm-overflowh {
    overflow: hidden;
}

.zm-clearb {
    clear: both;
}

/*布局*/
.zm-average1{
    display: flex;
    justify-content: space-around;
}
.zm-average2{
    display: flex;
    justify-content: space-between;
}
/*文本超出显示省略号*/
.zm-textoverflow1{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.zm-textoverflow2{
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.zm-textoverflow3{
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.zm-textoverflow4{
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
/*button*/
.zm-btndanger{
    text-align: center;
    background: #fa535a;
    display: inline-block;
    color: #fff;
    border-radius: 5px;
    padding: 5px 30px;
    &:hover{
        color: #fff;
        background: #e8373e;
    }
}
.zm-btninfo{
    text-align: center;
    background: #0193F4;
    display: inline-block;
    color: #fff;
    border-radius: 5px;
    padding: 5px 30px;
    &:hover{
        color: #fff;
        background: #117a8b;
    }
}
/*input*/
.zm-input{
    border: solid 1px #999999;
    padding-left: 10px;
    &:focus{
        outline: none;
        border: 1px solid #f60;
    }
}
/*弹框*/
.zm-alertbg{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 50;
    background: rgba(0, 0, 0, 0.2);
    .zm-alertbox{
        padding:10px 20px;
        width: 800px;
        height: 50px;
        border-radius: 5px;
        cursor: pointer;       
        p{
            height: 25px;
        }
    }
    .zm-alertboxd{
        background: #fff1f0 url() no-repeat 775px 5px;
        border: #d85030;
        color: #d85030;
        background-size: 18px;
    }
    .zm-alertboxs{
        background: #a5f5a5 url() no-repeat 775px 5px;
        border: #48ac48;
        color: #48ac48;
        background-size: 15px;
    }
}
